package com.zjl.Kafka.第04章_分布式扩展;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.nio.charset.Charset;

@SpringBootApplication
public class Springboot配置kafka {
    public static void main(String[] args) {
        System.setProperty("spring.profiles.active","kafka");
        SpringApplication.run(Springboot配置kafka.class, args);
        System.err.println("***********启动完毕**当前编码:" + Charset.defaultCharset().name() + "****************");

    }
}
